import request from '@/api/request'

function list(data) {
  return request({
    url: '/api/leju/admin/kind/list',
    method: 'get',
    data
  })
}
function saveOrUpdate(data) {
  return request({
    url: '/api/leju/admin/kind/saveOrUpdate',
    method: 'post',
    data
  })
}

export default {
    list,
    saveOrUpdate
  }